package jfox.platform.datadict.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import jfox.platform.infrastructure.LocalNamingEntityObject;

/**
 * @author <a href="mailto:yang_y@sysnet.com.cn">Young Yang</a>
 */
@Entity
@Table(name="T_DICT_ITEM")
public class DictItem extends LocalNamingEntityObject {

    @Column(name = "CATEGORY_ID")
    private long categoryId;

    @Column(name = "VALUE")
    private int value;

    @Column(name = "STRING_VALUE")
    private String stringValue;

    public long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(long categoryId) {
        this.categoryId = categoryId;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getStringValue() {
        return stringValue;
    }

    public void setStringValue(String stringValue) {
        this.stringValue = stringValue;
    }

    public static void main(String[] args) {

    }
}